package com.gang.ssm.bos.system.service;

import java.util.List;

import com.gang.ssm.bos.common.Page;
import com.gang.ssm.bos.system.bean.Role;

public interface RoleService {

	public List<Role> findAll();

	public void saveOrUpdate(Role role, String menuIds);

	public List<Integer> findIdListByUserId(Integer userId);
	
	public List<String> findNameByUserId(Integer userId);

	public void pageQuery(Page<Role> page);

	public Role findById(Integer id);

	public void deleteById(Integer id);

	public String findRoleCodeByRoleId(Integer roleId);

}
